package ext.acae2.util;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

public class UGHostUtil {
	public static String UGTEMP;
	public static String UGHOST;
	public static String EXE;
	public static String UGMODELS;
	
	//add by cnie for Cad sign
	public static String UGSERVERTEMP;
	public static String UGTEMPSMB;
	public static String UGCADHOST;

	public static void execute(String path) throws IOException {

		Properties p = new Properties();
		FileInputStream inputStream = new FileInputStream(
				path);
		p.load(inputStream);

		UGTEMP = p.getProperty("UGTEMP");
		UGHOST = p.getProperty("UGHOST");
		EXE = p.getProperty("EXE");
		UGMODELS = p.getProperty("UGMODELS");
		UGSERVERTEMP = p.getProperty("UGSERVERTEMP");
		UGTEMPSMB = p.getProperty("UGTEMPSMB");
		UGCADHOST = p.getProperty("UGCADHOST");
	}
}
